<template>
    <div class='zhuangxiu'>
             <!-- 头部 -->
    <div class="top header">
      <div class="left"><img src="@/assets/logo.png" alt="" /></div>
      <div class="right">
        <p>
          <i class="iconfont top-i icon-user"></i> <br /><span class="r-zi"
            >我的</span
          >
        </p>
        <p>
          <i class="iconfont top-i icon-nav"></i> <br /><span class="r-zi"
            >导航</span
          >
        </p>
      </div>
    </div>
     
        <div class="ul">
       <ul >
           <li class="li">筛选<i class="iconfont icon-down o"></i></li>
           <li>阶段<i class="iconfont icon-down o"></i></li>
           <li>排序<i class="iconfont icon-down o"></i></li>
           <li><i class="iconfont icon-search i"></i></li>
       </ul>
     </div>
     <!-- 列表 -->
      <!-- <div class="lb">
        <div v-for="(item,index) in ress" :key="index" class="lb1">
            <div class="but">
                <div class="imgg"><img :src="item.img" alt=""></div>
                <div class="title">{{item.title}}</div>
                <div class="time">
                    {{item.now_stage}}工程
                </div>
                  
            </div>
        </div>
     </div> -->
     <!-- <i class="iconfont icon-panorama q"></i> -->

     <div v-for="item in ress" :key="item.id" class="hose">
          <img :src="item.img" alt="" />
          <div>
            <p>{{ item.title }}</p>
            <p class="shijian">
               
              <span>
                {{item.now_stage}}工程
              </span>
            </p>
            <p class="h"> 三室 &emsp;60-90m &emsp;20Km</p>
          </div>
        </div>
       <div class="button">
            <ul>
                <li class="bai">上一页</li>
                <li>2/23</li>
                <li class="bai">下一页</li>
            </ul>
       </div>
       <div class="fu">服务热线：400-9977-65</div>
       <div class="ul">
       <ul >
           <li class="chu">触摸屏</li>
           <li>电脑版</li>
           <li>关于我们</li>
           <li>联系我们</li>
       </ul>
     </div>
      </div>
    
</template>

<script>
import Vue from "vue";
import { Tab, Tabs } from "vant";
export default {
  data() {
    return {
        ress:[]
    };
  },
  mounted() {
       this.$axios.get("/api/home/zhibo").then(res => {
      console.log(res.data);
      this.ress = res.data.data.list;
    });
  },
  methods: {},
  components: {}
};
</script>

<style lang='scss'>
.zhuangxiu {
//   height: 100%;
  width: 100%;
  box-sizing: border-box;
//   overflow: hidden;
}
.top,
.right {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
}
.left {
  img {
    margin-left: 18px;
    margin-top: 16px;
    width: 120px;
    margin-bottom: 16px;
  }
}
.right {
  p {
    margin: 5px 10px;
  }
  text-align: center;
  .r-zi {
    font-size: 22px;
    color: #999;
  }
  .top-i {
    font-size: 22px;
    color: #999;
    margin-bottom: 18px;
  }
}
.ul {
  width: 100%;
//   margin-top: 10px;
  height: 4.4rem;
  background-color: white;
  // border: red 1px solid;
  ul {
    li {
      float: left;
      line-height: 4rem;
  border: rgb(241, 237, 237) 1px solid;
      text-align: center;
      width:91px;
      .i{
          font-size:19px;
          color:#39c893;
      }
      .o{
          margin-left: 9px;
           color:#ccc;
      }
    }

    
  }

}

.hose {
    width: 100%;
    display: flex;
    background-color: rgb(255, 255, 255);
    // width: 200px;
    // height: 120px;
    img {
    //   flex-basis: 25%;
      height: 120px;
      width:160px;
    margin: 10px;
    }
    div {
      flex-basis: 85%;
      .shijian {
        color: #ffffff;
        width: 90px;
        height: 20px;
        background-color: #39c893;
        margin-top: 35px;
        // margin-left: 5px;
         text-align: center;
         border-radius: 5px;
      }
    }
    p{
        margin: 10px;
    }
    .h{
        color: #ccc;
    }
  }
  .button{
      width: 100%;
      height: 40px;
        background-color: #ffffff;
      float: left;
      ul{
          li{
              float: left;
              width: 122px;
              height: 40px;
              line-height: 40px;
              text-align: center;
  border: rgb(228, 224, 224) 1px solid;
          
          }
      }
      .bai{
              color: #fff;
        background-color: #39c893;

          }
  }
  .fu{
      width: 100%;
      height: 50px;
        background-color: #ffffff;
      margin-top: 34px;
      line-height: 50px;
      text-align: center;
  }
  .chu{
      color:#39c893;
  }
</style>
